pub struct RawControlPacket {
pub id: u16,
pub bytes: Bytes,
}
Expand description
Raw/not-yet-parsed Mumble control packet.
Fields§
§id: u16
Packet ID
See msgs::id.
bytes: Bytes
Raw message bytes.
Trait Implementations§
Source§impl Clone for RawControlPacket
impl Clone for RawControlPacket
Source§fn clone(&self) -> RawControlPacket
fn clone(&self) -> RawControlPacket
Returns a copy 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§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for Authenticate
impl TryFrom<RawControlPacket> for Authenticate
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for BanList
impl TryFrom<RawControlPacket> for BanList
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for ChannelRemove
impl TryFrom<RawControlPacket> for ChannelRemove
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for ChannelState
impl TryFrom<RawControlPacket> for ChannelState
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for CodecVersion
impl TryFrom<RawControlPacket> for CodecVersion
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for ContextAction
impl TryFrom<RawControlPacket> for ContextAction
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for ContextActionModify
impl TryFrom<RawControlPacket> for ContextActionModify
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl<Dst: VoicePacketDst> TryFrom<RawControlPacket> for ControlPacket<Dst>
impl<Dst: VoicePacketDst> TryFrom<RawControlPacket> for ControlPacket<Dst>
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for CryptSetup
impl TryFrom<RawControlPacket> for CryptSetup
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for PermissionDenied
impl TryFrom<RawControlPacket> for PermissionDenied
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for PermissionQuery
impl TryFrom<RawControlPacket> for PermissionQuery
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for Ping
impl TryFrom<RawControlPacket> for Ping
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for QueryUsers
impl TryFrom<RawControlPacket> for QueryUsers
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for Reject
impl TryFrom<RawControlPacket> for Reject
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for RequestBlob
impl TryFrom<RawControlPacket> for RequestBlob
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for ServerConfig
impl TryFrom<RawControlPacket> for ServerConfig
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for ServerSync
impl TryFrom<RawControlPacket> for ServerSync
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for SuggestConfig
impl TryFrom<RawControlPacket> for SuggestConfig
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for TextMessage
impl TryFrom<RawControlPacket> for TextMessage
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for UserList
impl TryFrom<RawControlPacket> for UserList
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for UserRemove
impl TryFrom<RawControlPacket> for UserRemove
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for UserState
impl TryFrom<RawControlPacket> for UserState
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for UserStats
impl TryFrom<RawControlPacket> for UserStats
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
Source§impl TryFrom<RawControlPacket> for Version
impl TryFrom<RawControlPacket> for Version
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
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
Source§type Error = ProtobufError
type Error = ProtobufError
The type returned in the event of a conversion error.
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