pub enum LinkOpenOutcome {
Opened {
handshake: Vec<u8>,
},
Held {
grant: String,
draft: String,
},
Refused {
reason: String,
},
}Expand description
Outcome of a link open, carried by Frame::LinkOpenAck.
Variants§
Opened
Lys allowed the open outright and the handshake completed; the responder’s handshake message follows, after which the stream is a keyed link.
Held
Lys holds the open under a draft; nothing is keyed until it is approved and offered again.
Refused
The open was refused, by name.
Trait Implementations§
Source§impl Clone for LinkOpenOutcome
impl Clone for LinkOpenOutcome
Source§impl Debug for LinkOpenOutcome
impl Debug for LinkOpenOutcome
impl Eq for LinkOpenOutcome
Source§impl PartialEq for LinkOpenOutcome
impl PartialEq for LinkOpenOutcome
impl StructuralPartialEq for LinkOpenOutcome
Auto Trait Implementations§
impl Freeze for LinkOpenOutcome
impl RefUnwindSafe for LinkOpenOutcome
impl Send for LinkOpenOutcome
impl Sync for LinkOpenOutcome
impl Unpin for LinkOpenOutcome
impl UnsafeUnpin for LinkOpenOutcome
impl UnwindSafe for LinkOpenOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.