Struct pin_init::PinInitErr [−][src]
pub struct PinInitErr<'a, E> { /* fields omitted */ }
Expand description
Proof that the value is not pin-initialized.
See documentation of PinInit
for details.
Implementations
impl<'a, E> PinInitErr<'a, E>
[src]
impl<'a, E> PinInitErr<'a, E>
[src]pub fn into_inner(self) -> E
[src]
pub fn into_inner(self) -> E
[src]Get the inner error.
pub fn map<T, F>(self, f: F) -> PinInitErr<'a, T> where
F: FnOnce(E) -> T,
[src]
pub fn map<T, F>(self, f: F) -> PinInitErr<'a, T> where
F: FnOnce(E) -> T,
[src]Map the inner error with the given function.
Auto Trait Implementations
impl<'a, E> Send for PinInitErr<'a, E> where
E: Send,
E: Send,
impl<'a, E> Sync for PinInitErr<'a, E> where
E: Sync,
E: Sync,
impl<'a, E> Unpin for PinInitErr<'a, E> where
E: Unpin,
E: Unpin,