pub struct OrfCapType {
pub orf_type: OrfType,
pub send_receive: OrfSendReceive,
}Expand description
One (ORF-Type, Send/Receive) pair inside a capability block.
Fields§
§orf_type: OrfTypeThe ORF-Type.
send_receive: OrfSendReceiveSend/Receive role advertised for this type.
Trait Implementations§
Source§impl Clone for OrfCapType
impl Clone for OrfCapType
Source§fn clone(&self) -> OrfCapType
fn clone(&self) -> OrfCapType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OrfCapType
Source§impl Debug for OrfCapType
impl Debug for OrfCapType
impl Eq for OrfCapType
Source§impl PartialEq for OrfCapType
impl PartialEq for OrfCapType
Source§fn eq(&self, other: &OrfCapType) -> bool
fn eq(&self, other: &OrfCapType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OrfCapType
Auto Trait Implementations§
impl Freeze for OrfCapType
impl RefUnwindSafe for OrfCapType
impl Send for OrfCapType
impl Sync for OrfCapType
impl Unpin for OrfCapType
impl UnsafeUnpin for OrfCapType
impl UnwindSafe for OrfCapType
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