Trait sandbox_ipc::SerializeWrapper
[−]
[src]
pub trait SerializeWrapper<'a, S> { type SerializeGuard: SerializeWrapperGuard<'a> + 'a; type DeserializeGuard: SerializeWrapperGuard<'a> + 'a; fn before_serialize(io: &'a mut S) -> Self::SerializeGuard; fn before_deserialize(io: &'a mut S) -> Self::DeserializeGuard; }
Associated Types
type SerializeGuard: SerializeWrapperGuard<'a> + 'a
type DeserializeGuard: SerializeWrapperGuard<'a> + 'a
Required Methods
fn before_serialize(io: &'a mut S) -> Self::SerializeGuard
fn before_deserialize(io: &'a mut S) -> Self::DeserializeGuard
Implementors
impl<'a, S> SerializeWrapper<'a, S> for NoopWrapper type SerializeGuard = NoopWrapperGuard; type DeserializeGuard = NoopWrapperGuard;