pub struct CreateChannel {
pub client_id: u32,
pub protocol_version: u32,
pub channel_name: String,
}Expand description
Requests creation of channel.
Server will allocate required resources and return initialized SID. Sent over TCP.
Fields§
§client_id: u32§protocol_version: u32§channel_name: StringImplementations§
Source§impl CreateChannel
impl CreateChannel
pub fn respond_failure(&self) -> CreateChannelFailure
Trait Implementations§
Source§impl CAMessage for CreateChannel
impl CAMessage for CreateChannel
Source§impl Debug for CreateChannel
impl Debug for CreateChannel
Source§impl TryFrom<RawMessage> for CreateChannel
impl TryFrom<RawMessage> for CreateChannel
Source§type Error = MessageError
type Error = MessageError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CreateChannel
impl RefUnwindSafe for CreateChannel
impl Send for CreateChannel
impl Sync for CreateChannel
impl Unpin for CreateChannel
impl UnwindSafe for CreateChannel
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