pub enum ChannelLocation {
Empty,
ChannelLocation(ChannelLocation),
}Expand description
Variants§
Empty
ChannelLocation(ChannelLocation)
Trait Implementations§
Source§impl Clone for ChannelLocation
impl Clone for ChannelLocation
Source§fn clone(&self) -> ChannelLocation
fn clone(&self) -> ChannelLocation
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 ChannelLocation
impl Debug for ChannelLocation
Source§impl Deserializable for ChannelLocation
impl Deserializable for ChannelLocation
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ChannelLocation> for ChannelLocation
impl From<ChannelLocation> for ChannelLocation
Source§fn from(x: ChannelLocation) -> Self
fn from(x: ChannelLocation) -> Self
Converts to this type from the input type.
Source§impl From<ChannelLocationEmpty> for ChannelLocation
impl From<ChannelLocationEmpty> for ChannelLocation
Source§fn from(_x: ChannelLocationEmpty) -> Self
fn from(_x: ChannelLocationEmpty) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChannelLocation
impl PartialEq for ChannelLocation
Source§impl Serializable for ChannelLocation
impl Serializable for ChannelLocation
Source§impl TryFrom<ChannelLocation> for ChannelLocation
impl TryFrom<ChannelLocation> for ChannelLocation
Source§type Error = ChannelLocation
type Error = ChannelLocation
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelLocation
Auto Trait Implementations§
impl Freeze for ChannelLocation
impl RefUnwindSafe for ChannelLocation
impl Send for ChannelLocation
impl Sync for ChannelLocation
impl Unpin for ChannelLocation
impl UnsafeUnpin for ChannelLocation
impl UnwindSafe for ChannelLocation
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