Enum coins_core::ser::ReadSeqMode
source · pub enum ReadSeqMode {
Exactly(usize),
AtMost(usize),
UntilEnd,
}
Expand description
Operation mode for read_seq_from
.
Variants§
Exactly(usize)
Specify Exactly
to deserialize an exact number, or return an error
AtMost(usize)
Specify AtMost
to stop deserializing at a specific number.
UntilEnd
Specify UntilEnd
to read to the end of the reader.
Auto Trait Implementations§
impl RefUnwindSafe for ReadSeqMode
impl Send for ReadSeqMode
impl Sync for ReadSeqMode
impl Unpin for ReadSeqMode
impl UnwindSafe for ReadSeqMode
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