pub enum BridgeDirection {
In,
Out,
Both,
}Variants§
Implementations§
Source§impl BridgeDirection
impl BridgeDirection
pub fn allows_incoming(&self) -> bool
pub fn allows_outgoing(&self) -> bool
Trait Implementations§
Source§impl Clone for BridgeDirection
impl Clone for BridgeDirection
Source§fn clone(&self) -> BridgeDirection
fn clone(&self) -> BridgeDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BridgeDirection
impl Debug for BridgeDirection
Source§impl<'de> Deserialize<'de> for BridgeDirection
impl<'de> Deserialize<'de> for BridgeDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BridgeDirection
impl PartialEq for BridgeDirection
Source§impl Serialize for BridgeDirection
impl Serialize for BridgeDirection
impl Copy for BridgeDirection
impl Eq for BridgeDirection
impl StructuralPartialEq for BridgeDirection
Auto Trait Implementations§
impl Freeze for BridgeDirection
impl RefUnwindSafe for BridgeDirection
impl Send for BridgeDirection
impl Sync for BridgeDirection
impl Unpin for BridgeDirection
impl UnwindSafe for BridgeDirection
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