pub enum LinkDialOutcome {
Opened(Box<DialedLink>),
Held {
grant: String,
draft: String,
},
Refused {
reason: String,
},
}Expand description
The peer’s answer to one exporting open; Held and Refused are final answers.
Variants§
Opened(Box<DialedLink>)
The handshake finished and its keyed link is held by the caller.
Held
Lys retained the open under an approval draft.
Refused
The peer refused the open by name.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LinkDialOutcome
impl !Sync for LinkDialOutcome
impl !UnwindSafe for LinkDialOutcome
impl Freeze for LinkDialOutcome
impl Send for LinkDialOutcome
impl Unpin for LinkDialOutcome
impl UnsafeUnpin for LinkDialOutcome
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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