pub struct WincodeBuilder<B>where
B: RwBuilder,{ /* private fields */ }Available on crate feature
wincode only.Expand description
Type returned by the wincode function on the RwBuilder trait.
It is itself not an RwBuilder so can’t be chained further.
This is why we call it a sink.
Note: This builder provides load and save methods for serialization.
Due to wincode’s schema trait requirements, types must implement both
serde traits and wincode’s SchemaRead/SchemaWrite traits.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Builder<B>where
B: Freeze,
impl<B> RefUnwindSafe for Builder<B>where
B: RefUnwindSafe,
impl<B> Send for Builder<B>where
B: Send,
impl<B> Sync for Builder<B>where
B: Sync,
impl<B> Unpin for Builder<B>where
B: Unpin,
impl<B> UnsafeUnpin for Builder<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Builder<B>where
B: 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