pub struct ConnectionInfo {
pub rights: Option<Operations>,
}
Fields§
§rights: Option<Operations>
Trait Implementations§
Source§impl Debug for ConnectionInfo
impl Debug for ConnectionInfo
Source§impl Encodable for ConnectionInfo
impl Encodable for ConnectionInfo
Source§type Encoded = WireConnectionInfo
type Encoded = WireConnectionInfo
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for ConnectionInfowhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for ConnectionInfowhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl TakeFrom<WireConnectionInfo> for ConnectionInfo
impl TakeFrom<WireConnectionInfo> for ConnectionInfo
Source§fn take_from(from: &WireConnectionInfo) -> Self
fn take_from(from: &WireConnectionInfo) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for ConnectionInfo
impl RefUnwindSafe for ConnectionInfo
impl Send for ConnectionInfo
impl Sync for ConnectionInfo
impl Unpin for ConnectionInfo
impl UnwindSafe for ConnectionInfo
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