[−][src]Struct wayk_proto::message::connection_sequence::authenticate::NowAuthenticateTokenMsg
Fields
auth_type: AuthType
token_data: Bytes16<'a>
Implementations
impl<'a> NowAuthenticateTokenMsg<'a>
[src]
pub const SUBTYPE: AuthenticateMessageType
[src]
pub const REQUIRED_SIZE: usize
[src]
pub fn new(auth_type: AuthType, token_data: &'a [u8]) -> Self
[src]
Trait Implementations
impl<'a> Clone for NowAuthenticateTokenMsg<'a>
[src]
fn clone(&self) -> NowAuthenticateTokenMsg<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for NowAuthenticateTokenMsg<'a>
[src]
impl<'dec: 'a, 'a> Decode<'dec> for NowAuthenticateTokenMsg<'a>
[src]
fn decode_from(cursor: &mut Cursor<&'dec [u8]>) -> Result<Self, ProtoError>
[src]
fn decode(bytes: &'dec [u8]) -> Result<Self, ProtoError>
[src]
impl<'a> Encode for NowAuthenticateTokenMsg<'a>
[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<'a> From<NowAuthenticateTokenMsg<'a>> for NowAuthenticateMsg<'a>
[src]
fn from(msg: NowAuthenticateTokenMsg<'a>) -> Self
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for NowAuthenticateTokenMsg<'a>
impl<'a> Send for NowAuthenticateTokenMsg<'a>
impl<'a> Sync for NowAuthenticateTokenMsg<'a>
impl<'a> Unpin for NowAuthenticateTokenMsg<'a>
impl<'a> UnwindSafe for NowAuthenticateTokenMsg<'a>
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>,