pub struct Context {
pub wire_format_version: WireFormatVersion,
}
Expand description
Context for encoding and decoding.
WARNING: Do not construct this directly unless you know what you’re doing.
FIDL uses Context
to coordinate soft migrations, so improper uses of it
could result in ABI breakage.
Fields§
§wire_format_version: WireFormatVersion
Wire format version to use when encoding / decoding.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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