[−][src]Enum blockchain_network_simple::SimpleSyncMessage
Variants
Status(S)BlockRequestFields of BlockRequest
BlockResponseFields of BlockResponse
blocks: Vec<B>Trait Implementations
impl<B: Clone, S: Clone> Clone for SimpleSyncMessage<B, S>[src]
fn clone(&self) -> SimpleSyncMessage<B, S>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<B: Debug, S: Debug> Debug for SimpleSyncMessage<B, S>[src]
impl<B, S> Encode for SimpleSyncMessage<B, S> where
S: Encode,
S: Encode,
Vec<B>: Encode,
Vec<B>: Encode, [src]
S: Encode,
S: Encode,
Vec<B>: Encode,
Vec<B>: Encode,
fn encode_to<EncOut: Output>(&self, dest: &mut EncOut)[src]
fn encode(&self) -> Vec<u8>[src]
Convert self to an owned vector.
fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R, [src]
F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
impl<B, S> Decode for SimpleSyncMessage<B, S> where
S: Decode,
S: Decode,
Vec<B>: Decode,
Vec<B>: Decode, [src]
S: Decode,
S: Decode,
Vec<B>: Decode,
Vec<B>: Decode,
Auto Trait Implementations
impl<B, S> Sync for SimpleSyncMessage<B, S> where
B: Sync,
S: Sync,
B: Sync,
S: Sync,
impl<B, S> Send for SimpleSyncMessage<B, S> where
B: Send,
S: Send,
B: Send,
S: Send,
impl<B, S> Unpin for SimpleSyncMessage<B, S> where
B: Unpin,
S: Unpin,
B: Unpin,
S: Unpin,
impl<B, S> RefUnwindSafe for SimpleSyncMessage<B, S> where
B: RefUnwindSafe,
S: RefUnwindSafe,
B: RefUnwindSafe,
S: RefUnwindSafe,
impl<B, S> UnwindSafe for SimpleSyncMessage<B, S> where
B: UnwindSafe,
S: UnwindSafe,
B: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[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, 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<S> Codec for S where
S: Encode + Decode, [src]
S: Encode + Decode,
impl<T> KeyedVec for T where
T: Codec, [src]
T: Codec,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T> Erased for T
impl<T> Typeable for T where
T: Any,
T: Any,