#[repr(C)]pub struct RequestType(/* private fields */);
Implementations§
Source§impl RequestType
impl RequestType
pub fn recipient(self) -> Result<RequestRecipient, &'static str>
pub fn set_recipient(&mut self, v: RequestRecipient)
pub fn kind(self) -> Result<RequestKind, &'static str>
pub fn set_kind(&mut self, v: RequestKind)
pub fn direction(self) -> Result<RequestDirection, &'static str>
pub fn set_direction(&mut self, v: RequestDirection)
Trait Implementations§
Source§impl Clone for RequestType
impl Clone for RequestType
Source§fn clone(&self) -> RequestType
fn clone(&self) -> RequestType
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 Debug for RequestType
impl Debug for RequestType
Source§impl From<(RequestDirection, RequestKind, RequestRecipient)> for RequestType
impl From<(RequestDirection, RequestKind, RequestRecipient)> for RequestType
Source§fn from(v: (RequestDirection, RequestKind, RequestRecipient)) -> Self
fn from(v: (RequestDirection, RequestKind, RequestRecipient)) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RequestType
impl PartialEq for RequestType
impl Copy for RequestType
impl StructuralPartialEq for RequestType
Auto Trait Implementations§
impl Freeze for RequestType
impl RefUnwindSafe for RequestType
impl Send for RequestType
impl Sync for RequestType
impl Unpin for RequestType
impl UnwindSafe for RequestType
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