pub struct TransferCapability {
pub mode: TransferMode,
pub stages: Vec<TransferStage>,
pub reason: Option<String>,
}Expand description
Runtime support and the cost/stages of a proposed transfer.
Fields§
§mode: TransferMode§stages: Vec<TransferStage>§reason: Option<String>Implementations§
Source§impl TransferCapability
impl TransferCapability
pub fn is_supported(&self) -> bool
Trait Implementations§
Source§impl Clone for TransferCapability
impl Clone for TransferCapability
Source§impl Debug for TransferCapability
impl Debug for TransferCapability
impl Eq for TransferCapability
Source§impl PartialEq for TransferCapability
impl PartialEq for TransferCapability
impl StructuralPartialEq for TransferCapability
Auto Trait Implementations§
impl Freeze for TransferCapability
impl RefUnwindSafe for TransferCapability
impl Send for TransferCapability
impl Sync for TransferCapability
impl Unpin for TransferCapability
impl UnsafeUnpin for TransferCapability
impl UnwindSafe for TransferCapability
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