pub struct PermissionSetsEncoder<P> { /* private fields */ }Implementations§
Source§impl<'a, P> PermissionSetsEncoder<P>
impl<'a, P> PermissionSetsEncoder<P>
pub fn wrap(self, parent: P, count: u32) -> Self
pub fn block_length() -> u16
pub fn parent(&mut self) -> SbeResult<P>
Sourcepub fn advance(&mut self) -> SbeResult<Option<usize>>
pub fn advance(&mut self) -> SbeResult<Option<usize>>
will return Some(current index) when successful otherwise None
Sourcepub fn permissions_encoder(
self,
count: u32,
permissions_encoder: PermissionsEncoder<Self>,
) -> PermissionsEncoder<Self>
pub fn permissions_encoder( self, count: u32, permissions_encoder: PermissionsEncoder<Self>, ) -> PermissionsEncoder<Self>
GROUP ENCODER (id=100)
Trait Implementations§
Source§impl<P: Debug> Debug for PermissionSetsEncoder<P>
impl<P: Debug> Debug for PermissionSetsEncoder<P>
Source§impl<P: Default> Default for PermissionSetsEncoder<P>
impl<P: Default> Default for PermissionSetsEncoder<P>
Source§fn default() -> PermissionSetsEncoder<P>
fn default() -> PermissionSetsEncoder<P>
Returns the “default value” for a type. Read more
Source§impl<'a, P> Encoder<'a> for PermissionSetsEncoder<P>
impl<'a, P> Encoder<'a> for PermissionSetsEncoder<P>
Source§impl<'a, P> Writer<'a> for PermissionSetsEncoder<P>
impl<'a, P> Writer<'a> for PermissionSetsEncoder<P>
fn get_buf_mut(&mut self) -> &mut WriteBuf<'a>
Auto Trait Implementations§
impl<P> Freeze for PermissionSetsEncoder<P>where
P: Freeze,
impl<P> RefUnwindSafe for PermissionSetsEncoder<P>where
P: RefUnwindSafe,
impl<P> Send for PermissionSetsEncoder<P>where
P: Send,
impl<P> Sync for PermissionSetsEncoder<P>where
P: Sync,
impl<P> Unpin for PermissionSetsEncoder<P>where
P: Unpin,
impl<P> UnsafeUnpin for PermissionSetsEncoder<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for PermissionSetsEncoder<P>where
P: 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more