pub struct ContainerAsBlob<T: Containerable + EpeeValue>(/* private fields */);
Trait Implementations§
Source§impl<T: Containerable + EpeeValue> EpeeValue for ContainerAsBlob<T>
impl<T: Containerable + EpeeValue> EpeeValue for ContainerAsBlob<T>
const MARKER: Marker
fn read<B: Buf>(r: &mut B, marker: &Marker) -> Result<Self>
fn should_write(&self) -> bool
Source§fn epee_default_value() -> Option<Self>
fn epee_default_value() -> Option<Self>
This is different than default field values and instead is the default
value of a whole type. Read more
fn write<B: BufMut>(self, w: &mut B) -> Result<()>
Source§impl<'a, T: Containerable + EpeeValue> From<&'a Vec<T>> for &'a ContainerAsBlob<T>
impl<'a, T: Containerable + EpeeValue> From<&'a Vec<T>> for &'a ContainerAsBlob<T>
Source§impl<T: Containerable + EpeeValue> From<ContainerAsBlob<T>> for Vec<T>
impl<T: Containerable + EpeeValue> From<ContainerAsBlob<T>> for Vec<T>
Source§fn from(value: ContainerAsBlob<T>) -> Self
fn from(value: ContainerAsBlob<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Containerable + EpeeValue> From<Vec<T>> for ContainerAsBlob<T>
impl<T: Containerable + EpeeValue> From<Vec<T>> for ContainerAsBlob<T>
Auto Trait Implementations§
impl<T> Freeze for ContainerAsBlob<T>
impl<T> RefUnwindSafe for ContainerAsBlob<T>where
T: RefUnwindSafe,
impl<T> Send for ContainerAsBlob<T>where
T: Send,
impl<T> Sync for ContainerAsBlob<T>where
T: Sync,
impl<T> Unpin for ContainerAsBlob<T>where
T: Unpin,
impl<T> UnwindSafe for ContainerAsBlob<T>where
T: UnwindSafe,
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes