pub enum CompanionLoad<'a> {
Loaded {
id: String,
view: View<'a>,
},
Unavailable(String),
}Expand description
The result of a companion request.
Variants§
Loaded
The opened file: its identity, and its content in a derived space.
The file is not available, for the reason given.
Trait Implementations§
Source§impl<'a> Clone for CompanionLoad<'a>
impl<'a> Clone for CompanionLoad<'a>
Auto Trait Implementations§
impl<'a> Freeze for CompanionLoad<'a>
impl<'a> RefUnwindSafe for CompanionLoad<'a>
impl<'a> Send for CompanionLoad<'a>
impl<'a> Sync for CompanionLoad<'a>
impl<'a> Unpin for CompanionLoad<'a>
impl<'a> UnsafeUnpin for CompanionLoad<'a>
impl<'a> UnwindSafe for CompanionLoad<'a>
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