pub struct Secure {
pub challenge: String,
}Fields§
§challenge: StringTrait Implementations§
Source§impl Method for Secure
impl Method for Secure
fn decode(method_frame: MethodFrame) -> Result<Self>where
Self: Sized,
fn encode(&self) -> Result<EncodedMethod>
fn name(&self) -> &'static str
fn id(&self) -> u16
fn class_id(&self) -> u16
fn encode_method_frame(&self) -> Result<FramePayload>
fn to_frame(&self, channel: u16) -> Result<Frame>
impl Send for Secure
impl StructuralPartialEq for Secure
Auto Trait Implementations§
impl Freeze for Secure
impl RefUnwindSafe for Secure
impl Sync for Secure
impl Unpin for Secure
impl UnwindSafe for Secure
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