pub struct BidsEncoder<P> { /* private fields */ }Implementations§
Source§impl<'a, P> BidsEncoder<P>
impl<'a, P> BidsEncoder<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
Trait Implementations§
Source§impl<P: Debug> Debug for BidsEncoder<P>
impl<P: Debug> Debug for BidsEncoder<P>
Source§impl<P: Default> Default for BidsEncoder<P>
impl<P: Default> Default for BidsEncoder<P>
Source§fn default() -> BidsEncoder<P>
fn default() -> BidsEncoder<P>
Returns the “default value” for a type. Read more
Source§impl<'a, P> Encoder<'a> for BidsEncoder<P>
impl<'a, P> Encoder<'a> for BidsEncoder<P>
Source§impl<'a, P> Writer<'a> for BidsEncoder<P>
impl<'a, P> Writer<'a> for BidsEncoder<P>
fn get_buf_mut(&mut self) -> &mut WriteBuf<'a>
Auto Trait Implementations§
impl<P> Freeze for BidsEncoder<P>where
P: Freeze,
impl<P> RefUnwindSafe for BidsEncoder<P>where
P: RefUnwindSafe,
impl<P> Send for BidsEncoder<P>where
P: Send,
impl<P> Sync for BidsEncoder<P>where
P: Sync,
impl<P> Unpin for BidsEncoder<P>where
P: Unpin,
impl<P> UnsafeUnpin for BidsEncoder<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for BidsEncoder<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