Skip to main content

Unwrap

Trait Unwrap 

Source
pub trait Unwrap {
    type Output;

    // Required method
    fn unwrap(self) -> Self::Output;
}
Available on crate feature unwrapping only.
Expand description

Trait implemented by messages that can be unwrapped.

Required Associated Types§

Source

type Output

Unwrapped message type.

Required Methods§

Source

fn unwrap(self) -> Self::Output

Unwrap message.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<N, T> Unwrap for Wrapper<N, T>

Available on crate feature numbered only.