pub enum RpcAuthenticationControlMessage {
Welcome,
Failure,
}Variants§
Implementations§
Source§impl RpcAuthenticationControlMessage
impl RpcAuthenticationControlMessage
pub const fn wire_payload(self) -> &'static [u8] ⓘ
pub fn decode( wire_payload: &[u8], ) -> Result<RpcAuthenticationControlMessage, RpcAuthenticationError>
Trait Implementations§
Source§impl Clone for RpcAuthenticationControlMessage
impl Clone for RpcAuthenticationControlMessage
Source§fn clone(&self) -> RpcAuthenticationControlMessage
fn clone(&self) -> RpcAuthenticationControlMessage
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 RpcAuthenticationControlMessage
impl Eq for RpcAuthenticationControlMessage
impl StructuralPartialEq for RpcAuthenticationControlMessage
Auto Trait Implementations§
impl Freeze for RpcAuthenticationControlMessage
impl RefUnwindSafe for RpcAuthenticationControlMessage
impl Send for RpcAuthenticationControlMessage
impl Sync for RpcAuthenticationControlMessage
impl Unpin for RpcAuthenticationControlMessage
impl UnsafeUnpin for RpcAuthenticationControlMessage
impl UnwindSafe for RpcAuthenticationControlMessage
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