pub enum NoSecret {}Expand description
Uninhabited on purpose. A value of this type cannot be produced, so
Command<NoSecret> has no reachable PutSecret variant. This is the
compile-time half of “a remote connection cannot spell that frame”;
Deserialize supplies the runtime half for bytes that try anyway.
Trait Implementations§
impl Copy for NoSecret
Source§impl<'de> Deserialize<'de> for NoSecret
impl<'de> Deserialize<'de> for NoSecret
Source§fn deserialize<D: Deserializer<'de>>(_deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(_deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NoSecret
impl StructuralPartialEq for NoSecret
Auto Trait Implementations§
impl Freeze for NoSecret
impl RefUnwindSafe for NoSecret
impl Send for NoSecret
impl Sync for NoSecret
impl Unpin for NoSecret
impl UnsafeUnpin for NoSecret
impl UnwindSafe for NoSecret
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