#[non_exhaustive]pub struct ConnectionId<'a> {
pub bytes: &'a [u8],
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bytes: &'a [u8]
Trait Implementations§
source§impl<'a> Clone for ConnectionId<'a>
impl<'a> Clone for ConnectionId<'a>
source§fn clone(&self) -> ConnectionId<'a>
fn clone(&self) -> ConnectionId<'a>
Returns a copy 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 moreAuto Trait Implementations§
impl<'a> Freeze for ConnectionId<'a>
impl<'a> RefUnwindSafe for ConnectionId<'a>
impl<'a> Send for ConnectionId<'a>
impl<'a> Sync for ConnectionId<'a>
impl<'a> Unpin for ConnectionId<'a>
impl<'a> UnwindSafe for ConnectionId<'a>
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