Enum AmbiguousNever
pub enum AmbiguousNever {}
Expand description
An uninhabited type used as owned and borrowed type for ambiguous markers.
Can be replaced by !
once that is stable.
Trait Implementations§
§impl<D> Decode<Ambiguous1, D> for AmbiguousNeverwhere
D: ResourceDialect,
impl<D> Decode<Ambiguous1, D> for AmbiguousNeverwhere
D: ResourceDialect,
§fn new_empty() -> AmbiguousNever
fn new_empty() -> AmbiguousNever
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Decode<Ambiguous2, D> for AmbiguousNeverwhere
D: ResourceDialect,
impl<D> Decode<Ambiguous2, D> for AmbiguousNeverwhere
D: ResourceDialect,
§fn new_empty() -> AmbiguousNever
fn new_empty() -> AmbiguousNever
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.Auto Trait Implementations§
impl Freeze for AmbiguousNever
impl RefUnwindSafe for AmbiguousNever
impl Send for AmbiguousNever
impl Sync for AmbiguousNever
impl Unpin for AmbiguousNever
impl UnwindSafe for AmbiguousNever
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more