Struct nix_compat::nix_daemon::types::IgnoredZero
source · pub struct IgnoredZero;
Expand description
Marker type that consumes/sends and ignores a u64.
Trait Implementations§
source§impl Clone for IgnoredZero
impl Clone for IgnoredZero
source§fn clone(&self) -> IgnoredZero
fn clone(&self) -> IgnoredZero
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IgnoredZero
impl Debug for IgnoredZero
source§impl From<IgnoredZero> for u64
impl From<IgnoredZero> for u64
source§fn from(_: IgnoredZero) -> Self
fn from(_: IgnoredZero) -> Self
Converts to this type from the input type.
source§impl From<u64> for IgnoredZero
impl From<u64> for IgnoredZero
source§impl NixDeserialize for IgnoredZero
impl NixDeserialize for IgnoredZero
source§fn try_deserialize<R>(
reader: &mut R,
) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
fn try_deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
Read a value from the reader.
This returns an Option to support gracefull shutdown.
fn deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Self, R::Error>> + Send + '_
Auto Trait Implementations§
impl Freeze for IgnoredZero
impl RefUnwindSafe for IgnoredZero
impl Send for IgnoredZero
impl Sync for IgnoredZero
impl Unpin for IgnoredZero
impl UnwindSafe for IgnoredZero
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)