pub struct ProxySessionId { /* private fields */ }Implementations§
Source§impl ProxySessionId
impl ProxySessionId
pub fn generate() -> Result<Self, SessionIdGenerationError>
Sourcepub fn from_bytes(bytes: [u8; 16]) -> Result<Self, SessionIdGenerationError>
pub fn from_bytes(bytes: [u8; 16]) -> Result<Self, SessionIdGenerationError>
Constructs one checked session while preserving the existing URL-safe, unpadded platform token representation.
Trait Implementations§
Source§impl Clone for ProxySessionId
impl Clone for ProxySessionId
Source§impl Debug for ProxySessionId
impl Debug for ProxySessionId
impl Eq for ProxySessionId
Source§impl Hash for ProxySessionId
impl Hash for ProxySessionId
Source§impl PartialEq for ProxySessionId
impl PartialEq for ProxySessionId
impl StructuralPartialEq for ProxySessionId
Auto Trait Implementations§
impl Freeze for ProxySessionId
impl RefUnwindSafe for ProxySessionId
impl Send for ProxySessionId
impl Sync for ProxySessionId
impl Unpin for ProxySessionId
impl UnsafeUnpin for ProxySessionId
impl UnwindSafe for ProxySessionId
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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