pub struct RawControlPacket {
pub id: u16,
pub bytes: Bytes,
}Expand description
Raw/not-yet-parsed Mumble control packet.
Fields§
§id: u16Packet ID
See msgs::id.
bytes: BytesRaw message bytes.
Trait Implementations§
Source§impl Clone for RawControlPacket
impl Clone for RawControlPacket
Source§fn clone(&self) -> RawControlPacket
fn clone(&self) -> RawControlPacket
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 RawControlPacket
impl Debug for RawControlPacket
Source§impl Encoder<RawControlPacket> for RawControlCodec
impl Encoder<RawControlPacket> for RawControlCodec
Source§impl From<ACL> for RawControlPacket
impl From<ACL> for RawControlPacket
Source§impl From<Authenticate> for RawControlPacket
impl From<Authenticate> for RawControlPacket
Source§fn from(msg: Authenticate) -> Self
fn from(msg: Authenticate) -> Self
Converts to this type from the input type.
Source§impl From<BanList> for RawControlPacket
impl From<BanList> for RawControlPacket
Source§impl From<ChannelRemove> for RawControlPacket
impl From<ChannelRemove> for RawControlPacket
Source§fn from(msg: ChannelRemove) -> Self
fn from(msg: ChannelRemove) -> Self
Converts to this type from the input type.
Source§impl From<ChannelState> for RawControlPacket
impl From<ChannelState> for RawControlPacket
Source§fn from(msg: ChannelState) -> Self
fn from(msg: ChannelState) -> Self
Converts to this type from the input type.
Source§impl From<CodecVersion> for RawControlPacket
impl From<CodecVersion> for RawControlPacket
Source§fn from(msg: CodecVersion) -> Self
fn from(msg: CodecVersion) -> Self
Converts to this type from the input type.
Source§impl From<ContextAction> for RawControlPacket
impl From<ContextAction> for RawControlPacket
Source§fn from(msg: ContextAction) -> Self
fn from(msg: ContextAction) -> Self
Converts to this type from the input type.
Source§impl From<ContextActionModify> for RawControlPacket
impl From<ContextActionModify> for RawControlPacket
Source§fn from(msg: ContextActionModify) -> Self
fn from(msg: ContextActionModify) -> Self
Converts to this type from the input type.
Source§impl<Dst: VoicePacketDst> From<ControlPacket<Dst>> for RawControlPacket
impl<Dst: VoicePacketDst> From<ControlPacket<Dst>> for RawControlPacket
Source§fn from(packet: ControlPacket<Dst>) -> Self
fn from(packet: ControlPacket<Dst>) -> Self
Converts to this type from the input type.
Source§impl From<CryptSetup> for RawControlPacket
impl From<CryptSetup> for RawControlPacket
Source§fn from(msg: CryptSetup) -> Self
fn from(msg: CryptSetup) -> Self
Converts to this type from the input type.
Source§impl From<PermissionDenied> for RawControlPacket
impl From<PermissionDenied> for RawControlPacket
Source§fn from(msg: PermissionDenied) -> Self
fn from(msg: PermissionDenied) -> Self
Converts to this type from the input type.
Source§impl From<PermissionQuery> for RawControlPacket
impl From<PermissionQuery> for RawControlPacket
Source§fn from(msg: PermissionQuery) -> Self
fn from(msg: PermissionQuery) -> Self
Converts to this type from the input type.
Source§impl From<Ping> for RawControlPacket
impl From<Ping> for RawControlPacket
Source§impl From<QueryUsers> for RawControlPacket
impl From<QueryUsers> for RawControlPacket
Source§fn from(msg: QueryUsers) -> Self
fn from(msg: QueryUsers) -> Self
Converts to this type from the input type.
Source§impl From<Reject> for RawControlPacket
impl From<Reject> for RawControlPacket
Source§impl From<RequestBlob> for RawControlPacket
impl From<RequestBlob> for RawControlPacket
Source§fn from(msg: RequestBlob) -> Self
fn from(msg: RequestBlob) -> Self
Converts to this type from the input type.
Source§impl From<ServerConfig> for RawControlPacket
impl From<ServerConfig> for RawControlPacket
Source§fn from(msg: ServerConfig) -> Self
fn from(msg: ServerConfig) -> Self
Converts to this type from the input type.
Source§impl From<ServerSync> for RawControlPacket
impl From<ServerSync> for RawControlPacket
Source§fn from(msg: ServerSync) -> Self
fn from(msg: ServerSync) -> Self
Converts to this type from the input type.
Source§impl From<SuggestConfig> for RawControlPacket
impl From<SuggestConfig> for RawControlPacket
Source§fn from(msg: SuggestConfig) -> Self
fn from(msg: SuggestConfig) -> Self
Converts to this type from the input type.
Source§impl From<TextMessage> for RawControlPacket
impl From<TextMessage> for RawControlPacket
Source§fn from(msg: TextMessage) -> Self
fn from(msg: TextMessage) -> Self
Converts to this type from the input type.
Source§impl From<UserList> for RawControlPacket
impl From<UserList> for RawControlPacket
Source§impl From<UserRemove> for RawControlPacket
impl From<UserRemove> for RawControlPacket
Source§fn from(msg: UserRemove) -> Self
fn from(msg: UserRemove) -> Self
Converts to this type from the input type.
Source§impl From<UserState> for RawControlPacket
impl From<UserState> for RawControlPacket
Source§impl From<UserStats> for RawControlPacket
impl From<UserStats> for RawControlPacket
Source§impl From<Version> for RawControlPacket
impl From<Version> for RawControlPacket
Source§impl<Dst: VoicePacketDst> From<VoicePacket<Dst>> for RawControlPacket
impl<Dst: VoicePacketDst> From<VoicePacket<Dst>> for RawControlPacket
Source§fn from(msg: VoicePacket<Dst>) -> Self
fn from(msg: VoicePacket<Dst>) -> Self
Converts to this type from the input type.
Source§impl From<VoiceTarget> for RawControlPacket
impl From<VoiceTarget> for RawControlPacket
Source§fn from(msg: VoiceTarget) -> Self
fn from(msg: VoiceTarget) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RawControlPacket
impl PartialEq for RawControlPacket
Source§impl TryFrom<RawControlPacket> for ACL
impl TryFrom<RawControlPacket> for ACL
Source§impl TryFrom<RawControlPacket> for Authenticate
impl TryFrom<RawControlPacket> for Authenticate
Source§impl TryFrom<RawControlPacket> for BanList
impl TryFrom<RawControlPacket> for BanList
Source§impl TryFrom<RawControlPacket> for ChannelRemove
impl TryFrom<RawControlPacket> for ChannelRemove
Source§impl TryFrom<RawControlPacket> for ChannelState
impl TryFrom<RawControlPacket> for ChannelState
Source§impl TryFrom<RawControlPacket> for CodecVersion
impl TryFrom<RawControlPacket> for CodecVersion
Source§impl TryFrom<RawControlPacket> for ContextAction
impl TryFrom<RawControlPacket> for ContextAction
Source§impl<Dst: VoicePacketDst> TryFrom<RawControlPacket> for ControlPacket<Dst>
impl<Dst: VoicePacketDst> TryFrom<RawControlPacket> for ControlPacket<Dst>
Source§impl TryFrom<RawControlPacket> for CryptSetup
impl TryFrom<RawControlPacket> for CryptSetup
Source§impl TryFrom<RawControlPacket> for PermissionDenied
impl TryFrom<RawControlPacket> for PermissionDenied
Source§impl TryFrom<RawControlPacket> for PermissionQuery
impl TryFrom<RawControlPacket> for PermissionQuery
Source§impl TryFrom<RawControlPacket> for Ping
impl TryFrom<RawControlPacket> for Ping
Source§impl TryFrom<RawControlPacket> for QueryUsers
impl TryFrom<RawControlPacket> for QueryUsers
Source§impl TryFrom<RawControlPacket> for Reject
impl TryFrom<RawControlPacket> for Reject
Source§impl TryFrom<RawControlPacket> for RequestBlob
impl TryFrom<RawControlPacket> for RequestBlob
Source§impl TryFrom<RawControlPacket> for ServerConfig
impl TryFrom<RawControlPacket> for ServerConfig
Source§impl TryFrom<RawControlPacket> for ServerSync
impl TryFrom<RawControlPacket> for ServerSync
Source§impl TryFrom<RawControlPacket> for SuggestConfig
impl TryFrom<RawControlPacket> for SuggestConfig
Source§impl TryFrom<RawControlPacket> for TextMessage
impl TryFrom<RawControlPacket> for TextMessage
Source§impl TryFrom<RawControlPacket> for UserList
impl TryFrom<RawControlPacket> for UserList
Source§impl TryFrom<RawControlPacket> for UserRemove
impl TryFrom<RawControlPacket> for UserRemove
Source§impl TryFrom<RawControlPacket> for UserState
impl TryFrom<RawControlPacket> for UserState
Source§impl TryFrom<RawControlPacket> for UserStats
impl TryFrom<RawControlPacket> for UserStats
Source§impl TryFrom<RawControlPacket> for Version
impl TryFrom<RawControlPacket> for Version
Source§impl<Dst: VoicePacketDst> TryFrom<RawControlPacket> for VoicePacket<Dst>
impl<Dst: VoicePacketDst> TryFrom<RawControlPacket> for VoicePacket<Dst>
Source§impl TryFrom<RawControlPacket> for VoiceTarget
impl TryFrom<RawControlPacket> for VoiceTarget
impl StructuralPartialEq for RawControlPacket
Auto Trait Implementations§
impl !Freeze for RawControlPacket
impl RefUnwindSafe for RawControlPacket
impl Send for RawControlPacket
impl Sync for RawControlPacket
impl Unpin for RawControlPacket
impl UnwindSafe for RawControlPacket
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