pub struct PrincipalBytes {
pub flag: u8,
pub len: u64,
pub inner: Vec<u8>,
}Fields§
§flag: u8§len: u64§inner: Vec<u8>Trait Implementations§
Source§impl BinRead for PrincipalBytes
impl BinRead for PrincipalBytes
Source§type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
Source§fn read_options<R>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: <PrincipalBytes as BinRead>::Args,
) -> Result<PrincipalBytes, Error>
fn read_options<R>( __binread_generated_var_reader: &mut R, __binread_generated_var_options: &ReadOptions, __binread_generated_var_arguments: <PrincipalBytes as BinRead>::Args, ) -> Result<PrincipalBytes, Error>
Read the type from the reader
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read the type from the reader while assuming no arguments have been passed Read more
Source§fn read_args<R>(reader: &mut R, args: Self::Args) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args) -> Result<Self, Error>
Read the type from the reader using the specified arguments
fn after_parse<R>( &mut self, _: &mut R, _: &ReadOptions, _: Self::Args, ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for PrincipalBytes
impl RefUnwindSafe for PrincipalBytes
impl Send for PrincipalBytes
impl Sync for PrincipalBytes
impl Unpin for PrincipalBytes
impl UnwindSafe for PrincipalBytes
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