[−][src]Struct raftlog_protobuf::message::AppendEntriesCallDecoder
Decoder for AppendEntriesCall
message.
Trait Implementations
impl Debug for AppendEntriesCallDecoder
[src]
impl Decode for AppendEntriesCallDecoder
[src]
type Item = AppendEntriesCall
The type of items to be decoded.
fn decode(&mut self, buf: &[u8], eos: Eos) -> Result<usize>
[src]
fn finish_decoding(&mut self) -> Result<Self::Item>
[src]
fn is_idle(&self) -> bool
[src]
fn requiring_bytes(&self) -> ByteCount
[src]
impl Default for AppendEntriesCallDecoder
[src]
fn default() -> AppendEntriesCallDecoder
[src]
impl MessageDecode for AppendEntriesCallDecoder
[src]
Auto Trait Implementations
impl RefUnwindSafe for AppendEntriesCallDecoder
impl Send for AppendEntriesCallDecoder
impl Sync for AppendEntriesCallDecoder
impl Unpin for AppendEntriesCallDecoder
impl UnwindSafe for AppendEntriesCallDecoder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DecodeExt for T where
T: Decode,
[src]
T: Decode,
fn map<T, F>(self, f: F) -> Map<Self, T, F> where
F: Fn(Self::Item) -> T,
[src]
F: Fn(Self::Item) -> T,
fn try_map<T, E, F>(self, f: F) -> TryMap<Self, T, E, F> where
F: Fn(Self::Item) -> Result<T, E>,
Error: From<E>,
[src]
F: Fn(Self::Item) -> Result<T, E>,
Error: From<E>,
fn map_err<E, F>(self, f: F) -> MapErr<Self, E, F> where
F: Fn(Error) -> E,
Error: From<E>,
[src]
F: Fn(Error) -> E,
Error: From<E>,
fn and_then<D, F>(self, f: F) -> AndThen<Self, D, F> where
D: Decode,
F: Fn(Self::Item) -> D,
[src]
D: Decode,
F: Fn(Self::Item) -> D,
fn collect<T>(self) -> Collect<Self, T> where
T: Extend<Self::Item> + Default,
[src]
T: Extend<Self::Item> + Default,
fn collectn<T>(self, n: usize) -> CollectN<Self, T> where
T: Extend<Self::Item> + Default,
[src]
T: Extend<Self::Item> + Default,
fn length(self, expected_bytes: u64) -> Length<Self>
[src]
fn omit(self, do_omit: bool) -> Omittable<Self>
[src]
fn max_bytes(self, bytes: u64) -> MaxBytes<Self>
[src]
fn chain<T>(self, other: T) -> TupleDecoder<(Self, T)> where
T: Decode,
[src]
T: Decode,
fn slice(self) -> Slice<Self>
[src]
fn peekable(self) -> Peekable<Self>
[src]
fn maybe_eos(self) -> MaybeEos<Self>
[src]
fn decode_from_bytes(&mut self, buf: &[u8]) -> Result<Self::Item, Error>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IoDecodeExt for T where
T: Decode,
[src]
T: Decode,
fn decode_from_read_buf<B>(&mut self, buf: &mut ReadBuf<B>) -> Result<(), Error> where
B: AsRef<[u8]>,
[src]
B: AsRef<[u8]>,
fn decode_exact<R>(&mut self, reader: R) -> Result<Self::Item, Error> where
R: Read,
[src]
R: Read,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,