pub struct AuthReader<'r>(/* private fields */);Implementations§
Source§impl<'r> AuthReader<'r>
impl<'r> AuthReader<'r>
pub const TOTAL_SIZE: usize = 21usize
pub const ITEM_SIZE: usize = 1usize
pub const ITEM_COUNT: usize = 21usize
pub fn nth0(&self) -> ByteReader<'r>
pub fn nth1(&self) -> ByteReader<'r>
pub fn nth2(&self) -> ByteReader<'r>
pub fn nth3(&self) -> ByteReader<'r>
pub fn nth4(&self) -> ByteReader<'r>
pub fn nth5(&self) -> ByteReader<'r>
pub fn nth6(&self) -> ByteReader<'r>
pub fn nth7(&self) -> ByteReader<'r>
pub fn nth8(&self) -> ByteReader<'r>
pub fn nth9(&self) -> ByteReader<'r>
pub fn nth10(&self) -> ByteReader<'r>
pub fn nth11(&self) -> ByteReader<'r>
pub fn nth12(&self) -> ByteReader<'r>
pub fn nth13(&self) -> ByteReader<'r>
pub fn nth14(&self) -> ByteReader<'r>
pub fn nth15(&self) -> ByteReader<'r>
pub fn nth16(&self) -> ByteReader<'r>
pub fn nth17(&self) -> ByteReader<'r>
pub fn nth18(&self) -> ByteReader<'r>
pub fn nth19(&self) -> ByteReader<'r>
pub fn nth20(&self) -> ByteReader<'r>
pub fn raw_data(&self) -> &'r [u8] ⓘ
Trait Implementations§
Source§impl<'r> Clone for AuthReader<'r>
impl<'r> Clone for AuthReader<'r>
Source§fn clone(&self) -> AuthReader<'r>
fn clone(&self) -> AuthReader<'r>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'r> Debug for AuthReader<'r>
impl<'r> Debug for AuthReader<'r>
Source§impl<'r> Display for AuthReader<'r>
impl<'r> Display for AuthReader<'r>
Source§impl<'r> LowerHex for AuthReader<'r>
impl<'r> LowerHex for AuthReader<'r>
Source§impl<'r> Reader<'r> for AuthReader<'r>
impl<'r> Reader<'r> for AuthReader<'r>
const NAME: &'static str = "AuthReader"
type Entity = Auth
fn to_entity(&self) -> Self::Entity
fn new_unchecked(slice: &'r [u8]) -> Self
fn as_slice(&self) -> &'r [u8] ⓘ
fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
fn from_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
fn from_compatible_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
impl<'r> Copy for AuthReader<'r>
Auto Trait Implementations§
impl<'r> Freeze for AuthReader<'r>
impl<'r> RefUnwindSafe for AuthReader<'r>
impl<'r> Send for AuthReader<'r>
impl<'r> Sync for AuthReader<'r>
impl<'r> Unpin for AuthReader<'r>
impl<'r> UnwindSafe for AuthReader<'r>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'r, R> FromSliceShouldBeOk<'r> for Rwhere
R: Reader<'r>,
impl<'r, R> FromSliceShouldBeOk<'r> for Rwhere
R: Reader<'r>,
Source§fn from_slice_should_be_ok(slice: &'r [u8]) -> R
fn from_slice_should_be_ok(slice: &'r [u8]) -> R
Unwraps the result of
from_slice(..) with confidence and we assume that it’s impossible to fail.Source§fn from_compatible_slice_should_be_ok(slice: &'r [u8]) -> R
fn from_compatible_slice_should_be_ok(slice: &'r [u8]) -> R
Unwraps the result of
from_compatible_slice(..) with confidence and we assume that it’s impossible to fail.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.