Enum fidl_fuchsia_io::FileEvent
source · pub enum FileEvent {
OnOpen_ {
s: i32,
info: Option<Box<NodeInfoDeprecated>>,
},
OnRepresentation {
payload: Representation,
},
_UnknownEvent {
ordinal: u64,
},
}
Variants§
Implementations§
source§impl FileEvent
impl FileEvent
pub fn into_on_open_(self) -> Option<(i32, Option<Box<NodeInfoDeprecated>>)>
pub fn into_on_representation(self) -> Option<Representation>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileEvent
impl RefUnwindSafe for FileEvent
impl Send for FileEvent
impl Sync for FileEvent
impl Unpin for FileEvent
impl UnwindSafe for FileEvent
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