[−][src]Struct wayk_proto::header::NowLongHeader
Implementations
impl NowLongHeader
[src]
pub const SIZE: usize
[src]
pub fn new(body_type: BodyType, body_size: u32) -> Self
[src]
pub fn new_with_msg_type(message_type: MessageType, body_len: u32) -> Self
[src]
pub fn new_with_virt_channel(virtual_channel_id: u8, body_len: u32) -> Self
[src]
Trait Implementations
impl AbstractNowHeader for NowLongHeader
[src]
fn len(&self) -> usize
[src]
fn is_short(&self) -> bool
[src]
fn flags(&self) -> u8
[src]
fn body_type(&self) -> BodyType
[src]
fn body_len(&self) -> usize
[src]
fn packet_len(&self) -> usize
[src]
impl Clone for NowLongHeader
[src]
fn clone(&self) -> NowLongHeader
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NowLongHeader
[src]
impl<'_> Decode<'_> for NowLongHeader
[src]
fn decode_from(cursor: &mut Cursor<&[u8]>) -> Result<Self>
[src]
fn decode(bytes: &'dec [u8]) -> Result<Self, ProtoError>
[src]
impl Encode for NowLongHeader
[src]
fn encoded_len(&self) -> usize
[src]
fn encode_into<W: Write>(&self, writer: &mut W) -> Result<(), ProtoError>
[src]
fn encode(&self) -> Result<Vec<u8>, ProtoError> where
Self: Sized,
[src]
Self: Sized,
impl PartialEq<NowLongHeader> for NowLongHeader
[src]
fn eq(&self, other: &NowLongHeader) -> bool
[src]
fn ne(&self, other: &NowLongHeader) -> bool
[src]
impl StructuralPartialEq for NowLongHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for NowLongHeader
impl Send for NowLongHeader
impl Sync for NowLongHeader
impl Unpin for NowLongHeader
impl UnwindSafe for NowLongHeader
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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>,