Enum medea_control_api_proto::callback::Event
source · pub enum Event {
OnJoin(OnJoinEvent),
OnLeave(OnLeaveEvent),
}
Expand description
Possible callbacks events which may happen on a media server.
Variants§
Trait Implementations§
source§impl From<OnJoinEvent> for Event
impl From<OnJoinEvent> for Event
source§fn from(original: OnJoinEvent) -> Event
fn from(original: OnJoinEvent) -> Event
Converts to this type from the input type.
source§impl From<OnLeaveEvent> for Event
impl From<OnLeaveEvent> for Event
source§fn from(original: OnLeaveEvent) -> Event
fn from(original: OnLeaveEvent) -> Event
Converts to this type from the input type.
impl Copy for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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